package com.hezhiqin.dubboservice;

import com.alibaba.csp.sentinel.annotation.SentinelResource;
import com.hezhiqin.api.SayHello;
import org.apache.dubbo.config.annotation.Service;

/**
 * @program: homeWork
 * @description:
 * @author: hezhiqin
 * @create: 2020-01-29 16:28
 */
@Service
public class AnHello implements SayHello {


    @Override
    public String sayHello(String s) {
        System.out.println("这个是2");
        return "基于注解的hello:"+s;
    }
}
